package com.sup.generator.service;

import com.sup.generator.config.GrRedisPrefixConfig;

/**
 * @author Zh
 * @version v1.0
 * @description:
 * @date 2020/11/13 19:27
 */
public interface GrRedisService {

    void setString(Long userId, GrRedisPrefixConfig prefixConfig, Object data);

    <T>T get(String key, Class clazz);

    Boolean remove(Long userId, GrRedisPrefixConfig prefixConfig);

}
